CC := g++
CFLAGS := -Wall
#LFLAGS := -I/directorio

all : ej1a

ej1a : ej1a.o AG.o functionFitness.o

AG.o : AG.cpp 
	$(CC) $(CFLAGS) -c -o $@ $^

functionFitness.o : functionFitness.cpp
	$(CC) $(CFLAGS) -c -o $@ $^

ej1a.o : ej1a.cpp
	$(CC) $(CFLAGS) -c -o $@ $^

.PHONY : clean

clean :
	-rm -f *.o *~ ej1a
